<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>

    <footer class="main-footer">
        <div class="container">
            <div class="row">
                <div id="col-sm-4" class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">ئەڭ يىڭى يازما</h4>
                        <div class="content recent-post">
                        <?php $this->widget('Widget_Contents_Post_Recent', 'pageSize=3')->to($contents); ?>
<?php while($contents->next()): ?>
                                <div class="recent-single-post">
                                    <a href="<?php $contents->permalink() ?>" class="post-title">
                                    <?php $contents->title() ?></a>
                                    <div class="date"><?php $contents->date('Y-m-d') ?></div>
                                </div>
<?php endwhile; ?>
                        </div>
                    </div>
                </div>

                <div id="col-sm-4" class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">ئەڭ يىڭى باھا</h4>
                        <div class="content recent-post">
            <?php $this->widget('Widget_Comments_Recent','ignoreAuthor=true')->to($comments); ?>
            <?php while ($comments->next()): ?>
                                <div class="recent-single-post">
                                    <a href="<?php $comments->permalink() ?>" class="post-title">
                                    <?php $comments->excerpt('40'); ?></a>
                                    <div class="date"><span class="ll">#</span>&nbsp;<span class="ll"><?php $comments->author(false); ?></span>&nbsp;<span class="ll"><?php $comments->date('Y-m-d') ?></span></div>
                                </div> 
            <?php endwhile; ?>
                        </div>
                    </div>
                </div>

                <div id="col-sm-4" class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">ھەمكارلاشقۇچىلار</h4>
                        <div class="content tag-cloud friend-links">
                            <a href="http://typecho.org" title="Typechoئورگان بىكىتى"  target="_blank">Typechoئورگان بىكىتى</a>
                            <a href="https://typecho.me/" title="typecho ئۇسلۇب ئامبىرى" target="_blank">typecho ئۇسلۇب ئامبىرى</a>
                            <hr>
                            <a href="http://www.tarqat.com/" title="TARQAT" target="_blank">TARQAT</a>
                            <hr>
                            <a href="http://bilimlar.com/" title="بىلىمىلەر تورى" target="_blank">بىلىمىلەر تورى</a>
                            <a href="https://www.learnfans.com/" title="LearnFans" target="_blank">LearnFans</a>
                        </div>
                </div></div>
            </div>
        </div>
    </footer>

    <div class="copyright">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <span>Copyright &copy; <?php $this->options->title() ?></span> |
                    <span>ئۇسلۇب ئۆزلەشتۈرگۈچى :<a href="http://www.tarqat.com/" target="_blank">تارقات</a></span>
                </div>
            </div>
        </div>
    </div>

    <a href="#" id="back-to-top"><i class="fa fa-angle-up"></i></a>

    <script src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
    <script src="//cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="<?php $this->options->themeUrl('js.js'); ?>"></script>
        <script src="<?php $this->options->themeUrl('prism.js'); ?>"></script>

<?php $this->footer(); ?>
</body>
</html>
